home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5675 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 65 75 6e 65 74 |Path: ne|ws.eunet|
|00000010| 2e 63 68 21 75 73 65 6e | 65 74 0a 46 72 6f 6d 3a |.ch!usen|et.From:|
|00000020| 20 52 65 74 6f 20 4b 6f | 72 61 64 69 20 3c 6b 6f | Reto Ko|radi <ko|
|00000030| 72 40 73 70 65 63 74 72 | 6f 73 70 69 6e 2e 63 68 |r@spectr|ospin.ch|
|00000040| 3e 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |>.Newsgr|oups: co|
|00000050| 6d 70 2e 6c 61 6e 67 2e | 63 2c 63 6f 6d 70 2e 67 |mp.lang.|c,comp.g|
|00000060| 72 61 70 68 69 63 73 2e | 61 6c 67 6f 72 69 74 68 |raphics.|algorith|
|00000070| 6d 73 2c 72 65 63 2e 67 | 61 6d 65 73 2e 70 72 6f |ms,rec.g|ames.pro|
|00000080| 67 72 61 6d 6d 65 72 0a | 53 75 62 6a 65 63 74 3a |grammer.|Subject:|
|00000090| 20 52 65 3a 20 53 70 65 | 65 64 20 71 75 65 73 74 | Re: Spe|ed quest|
|000000a0| 69 6f 6e 20 68 65 72 65 | 2e 2e 2e 0a 44 61 74 65 |ion here|....Date|
|000000b0| 3a 20 32 30 20 46 65 62 | 20 31 39 39 36 20 30 39 |: 20 Feb| 1996 09|
|000000c0| 3a 34 37 3a 35 38 20 47 | 4d 54 0a 4f 72 67 61 6e |:47:58 G|MT.Organ|
|000000d0| 69 7a 61 74 69 6f 6e 3a | 20 53 70 65 63 74 72 6f |ization:| Spectro|
|000000e0| 73 70 69 6e 20 41 47 0a | 4d 65 73 73 61 67 65 2d |spin AG.|Message-|
|000000f0| 49 44 3a 20 3c 34 67 63 | 35 63 65 24 72 74 76 40 |ID: <4gc|5ce$rtv@|
|00000100| 6e 65 77 73 2e 65 75 6e | 65 74 2e 63 68 3e 0a 52 |news.eun|et.ch>.R|
|00000110| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 66 74 6c |eference|s: <4ftl|
|00000120| 75 68 24 31 67 6b 76 40 | 68 65 61 72 73 74 2e 63 |uh$1gkv@|hearst.c|
|00000130| 61 63 2e 70 73 75 2e 65 | 64 75 3e 0a 4e 4e 54 50 |ac.psu.e|du>.NNTP|
|00000140| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 62 |-Posting|-Host: b|
|00000150| 69 72 63 68 77 69 6c 2e | 73 70 65 63 74 72 6f 73 |irchwil.|spectros|
|00000160| 70 69 6e 2e 63 68 0a 4d | 69 6d 65 2d 56 65 72 73 |pin.ch.M|ime-Vers|
|00000170| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000180| 2d 54 79 70 65 3a 20 74 | 65 78 74 2f 70 6c 61 69 |-Type: t|ext/plai|
|00000190| 6e 3b 20 63 68 61 72 73 | 65 74 3d 75 73 2d 61 73 |n; chars|et=us-as|
|000001a0| 63 69 69 0a 43 6f 6e 74 | 65 6e 74 2d 54 72 61 6e |cii.Cont|ent-Tran|
|000001b0| 73 66 65 72 2d 45 6e 63 | 6f 64 69 6e 67 3a 20 37 |sfer-Enc|oding: 7|
|000001c0| 62 69 74 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |bit.X-Ma|iler: Mo|
|000001d0| 7a 69 6c 6c 61 20 31 2e | 31 4e 20 28 58 31 31 3b |zilla 1.|1N (X11;|
|000001e0| 20 49 3b 20 49 52 49 58 | 20 35 2e 33 20 49 50 31 | I; IRIX| 5.3 IP1|
|000001f0| 32 29 0a 54 6f 3a 20 6b | 6f 73 63 68 6f 40 77 6a |2).To: k|oscho@wj|
|00000200| 6b 31 33 30 2e 72 68 2e | 70 73 75 2e 65 64 75 0a |k130.rh.|psu.edu.|
|00000210| 58 2d 55 52 4c 3a 20 6e | 65 77 73 3a 34 66 74 6c |X-URL: n|ews:4ftl|
|00000220| 75 68 24 31 67 6b 76 40 | 68 65 61 72 73 74 2e 63 |uh$1gkv@|hearst.c|
|00000230| 61 63 2e 70 73 75 2e 65 | 64 75 0a 0a 6b 6f 73 63 |ac.psu.e|du..kosc|
|00000240| 68 6f 40 77 6a 6b 31 33 | 30 2e 72 68 2e 70 73 75 |ho@wjk13|0.rh.psu|
|00000250| 2e 65 64 75 20 28 57 69 | 6c 6c 69 61 6d 20 4b 6f |.edu (Wi|lliam Ko|
|00000260| 73 63 68 6f 29 20 77 72 | 6f 74 65 3a 0a 3e 49 20 |scho) wr|ote:.>I |
|00000270| 77 61 73 20 63 75 72 69 | 6f 75 73 20 61 73 20 74 |was curi|ous as t|
|00000280| 6f 20 68 6f 77 20 66 61 | 73 74 20 73 6f 6d 65 74 |o how fa|st somet|
|00000290| 68 69 6e 67 20 6c 69 6b | 65 20 74 68 65 20 0a 3e |hing lik|e the .>|
|000002a0| 66 6f 6c 6c 6f 77 69 6e | 67 20 77 6f 75 6c 64 20 |followin|g would |
|000002b0| 65 78 65 63 75 74 65 3a | 0a 3e 0a 3e 09 69 6e 74 |execute:|.>.>.int|
|000002c0| 20 78 3b 0a 3e 09 6e 6f | 64 65 20 2a 70 74 72 3b | x;.>.no|de *ptr;|
|000002d0| 20 20 20 70 74 72 20 69 | 6e 20 6c 69 6e 6b 65 64 | ptr i|n linked|
|000002e0| 20 6c 69 73 74 0a 3e 0a | 3e 20 20 20 20 20 20 20 | list.>.|> |
|000002f0| 66 6f 72 20 28 20 70 74 | 72 20 3d 20 66 69 72 73 |for ( pt|r = firs|
|00000300| 74 5f 6e 6f 64 65 3b 20 | 70 74 72 20 21 3d 20 4e |t_node; |ptr != N|
|00000310| 55 4c 4c 3b 20 70 74 72 | 20 3d 20 70 74 72 2e 6e |ULL; ptr| = ptr.n|
|00000320| 65 78 74 20 29 20 7b 0a | 3e 09 20 20 20 66 6f 72 |ext ) {.|>. for|
|00000330| 20 28 20 78 20 3d 20 30 | 3b 20 78 20 3c 20 6d 61 | ( x = 0|; x < ma|
|00000340| 78 3b 20 78 2b 2b 20 29 | 20 7b 0a 3e 09 09 61 72 |x; x++ )| {.>..ar|
|00000350| 72 61 79 5b 78 5d 20 3d | 20 61 72 72 61 79 5f 6f |ray[x] =| array_o|
|00000360| 74 68 65 72 5b 78 5d 3b | 0a 3e 20 20 20 20 20 20 |ther[x];|.> |
|00000370| 20 20 20 20 20 7d 0a 3e | 20 20 20 20 20 20 7d 20 | }.>| } |
|00000380| 0a 0a 59 6f 75 20 63 6f | 75 6c 64 20 74 61 6b 65 |..You co|uld take|
|00000390| 20 74 68 65 20 69 6e 6e | 65 72 20 6c 6f 6f 70 20 | the inn|er loop |
|000003a0| 6f 75 74 73 69 64 65 20 | 6f 66 20 74 68 65 20 6f |outside |of the o|
|000003b0| 75 74 65 72 20 6c 6f 6f | 70 2c 20 69 74 20 64 6f |uter loo|p, it do|
|000003c0| 65 73 6e 27 74 20 64 65 | 70 65 6e 64 0a 6f 6e 20 |esn't de|pend.on |
|000003d0| 70 74 72 2e 20 41 20 67 | 6f 6f 64 20 63 6f 6d 70 |ptr. A g|ood comp|
|000003e0| 69 6c 65 72 20 6d 69 67 | 68 74 20 64 6f 20 74 68 |iler mig|ht do th|
|000003f0| 61 74 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |at autom|atically|
|00000400| 2c 20 62 75 74 20 69 74 | 20 63 65 72 74 61 69 6e |, but it| certain|
|00000410| 6c 79 0a 63 6f 75 6c 64 | 6e 27 74 20 68 75 72 74 |ly.could|n't hurt|
|00000420| 2e 20 53 6f 20 72 65 70 | 6c 61 63 65 20 69 74 20 |. So rep|lace it |
|00000430| 62 79 3a 0a 0a 20 20 20 | 20 66 6f 72 20 28 20 78 |by:.. | for ( x|
|00000440| 20 3d 20 30 3b 20 78 20 | 3c 20 6d 61 78 3b 20 78 | = 0; x |< max; x|
|00000450| 2b 2b 20 29 20 7b 0a 20 | 20 20 20 20 20 61 72 72 |++ ) {. | arr|
|00000460| 61 79 5b 78 5d 20 3d 20 | 61 72 72 61 79 5f 6f 74 |ay[x] = |array_ot|
|00000470| 68 65 72 5b 78 5d 3b 0a | 20 20 20 20 7d 0a 20 20 |her[x];.| }. |
|00000480| 20 20 66 6f 72 20 28 20 | 70 74 72 20 3d 20 66 69 | for ( |ptr = fi|
|00000490| 72 73 74 5f 6e 6f 64 65 | 3b 20 70 74 72 20 21 3d |rst_node|; ptr !=|
|000004a0| 20 4e 55 4c 4c 3b 20 70 | 74 72 20 3d 20 70 74 72 | NULL; p|tr = ptr|
|000004b0| 2e 6e 65 78 74 20 29 20 | 7b 0a 20 20 20 20 7d 0a |.next ) |{. }.|
|000004c0| 2d 2d 20 0a 52 65 74 6f | 20 4b 6f 72 61 64 69 20 |-- .Reto| Koradi |
|000004d0| 28 6b 6f 72 40 6d 6f 6c | 2e 62 69 6f 6c 2e 65 74 |(kor@mol|.biol.et|
|000004e0| 68 7a 2e 63 68 2c 20 68 | 74 74 70 3a 2f 2f 77 77 |hz.ch, h|ttp://ww|
|000004f0| 77 2e 6d 6f 6c 2e 62 69 | 6f 6c 2e 65 74 68 7a 2e |w.mol.bi|ol.ethz.|
|00000500| 63 68 2f 7e 6b 6f 72 29 | 0a 0a |ch/~kor)|.. |
+--------+-------------------------+-------------------------+--------+--------+